<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Vue 请求地址切换器</title>
    <style>
        body {
            width: 300px;
            padding: 10px;
            font-family: Arial, sans-serif;
        }
        .form-group {
            margin-bottom: 10px;
        }
        label {
            display: block;
            margin-bottom: 5px;
        }
        input, select {
            width: 100%;
            padding: 5px;
            box-sizing: border-box;
        }
        button {
            background-color: #4CAF50;
            color: white;
            padding: 8px 12px;
            border: none;
            cursor: pointer;
            width: 100%;
        }
        button:hover {
            background-color: #45a049;
        }
        .url-list {
            margin-top: 10px;
        }
        .url-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 5px;
            border: 1px solid #ddd;
            margin-bottom: 5px;
        }
        .delete-btn {
            background-color: #f44336;
            color: white;
            border: none;
            padding: 2px 8px;
            cursor: pointer;
        }
    </style>
</head>
<body>
    <div class="form-group">
        <label for="url">请求地址:</label>
        <input type="text" id="url" placeholder="输入请求地址">
    </div>
    <div class="form-group">
        <label for="name">地址名称:</label>
        <input type="text" id="name" placeholder="输入地址名称">
    </div>
    <button id="add-url">添加地址</button>
    <div class="url-list" id="url-list"></div>
    <script src="popup.js"></script>
</body>
</html>